
import json
#s = '[{"name":"niaochao","point":{"lat":"39.990","lng":"116.397"},"desc":"aoyunhuizhuchangdi"},{"name":"beidapingpangqiuguan","point":{"lat":"39.988","lng":"116.315"},"desc":"pingpangqiubisaichangdi"},{"name":"beijinggongrentiyuchang","point":{"lat":"39.930","lng":"116.446"},"desc":"zuqiubisaichangdi"}]'  

s = '["a","b"]'
# s = {'a:':'asedsa'}
print"s===================",s,type(s)
#s1 = json.dumps(s)
#print "s1===============",s1
locations = json.loads(s)  
print locations,type(locations)
print str(len(locations))  




